<template>
  <div id="app">
    <!-- 头部导航栏 -->
    <el-container>
      <el-header class="header" height="60px">
        <el-row>
          <el-col :span="1" style="text-align:center">
            <img src="./assets/u盘.svg" alt="" width="80%">
          </el-col>
          <el-col :span="1">
             <el-link target="/">U网盘</el-link>
          </el-col>
          <el-col :span="16" :offset="1">
            <el-col :span="2">
              <el-link type="primary">网盘</el-link>
            </el-col>
            <el-col :span="2">
              <el-link target="_blank">更多</el-link>
            </el-col>
          </el-col>
        </el-row>
      </el-header>
      <el-container>
        <el-aside width="11%">暂未开发</el-aside>
        <!-- 主要内容部分 -->
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "App"
};
</script>

<style>
.header {
  box-shadow: 0px 1px 3px #888888;
  line-height: 60px;
}

html,
body,
#app,
.el-container {
  /*设置内部填充为0，几个布局元素之间没有间距*/
  padding: 0px;
  /*外部间距也是如此设置*/
  margin: 0px;
  /*统一设置高度为100%*/
  height: 100%;
}

.el-aside {
  background-color: #f7f7f7;
  color: #333;
  text-align: center;
  line-height: 200px;
  margin-top: 3px;
}

.el-link{
  font-size: 18px;
}
</style>
